package net.ariel.myideablog.dao;

import java.util.List;

import net.ariel.myideablog.model.Blog;

public interface IBlog {

	public List<Blog> getAllBlogs();
	public List<Blog> getBlogsByPage(int offset, int limit);
	public void saveBlog(Blog blog);
	public Blog getBlog(String blogKey);
	public void updateBlog(String blogKey, Blog newBlog);
	public void deleteBlog(String blogKey);
	public int getBlogNumber();
	public List<Blog> getBlogsByCategory(String categoryKey);
}
